package com.corechina.apex_osswords.domain.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.corechina.apex_osswords.domain.entity.SysLogs;
import com.corechina.apex_osswords.domain.vo.SysLogsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 系统日志表 Mapper 接口
 * </p>
 *
 * @author cc
 * @since 2022-03-03
 */

@Component
public interface SysLogsMapper extends BaseMapper<SysLogs> {

    IPage<SysLogsVo> getAllSysLogs(Page page, @Param("operator") Integer operator, @Param("ip") String ip, @Param("operation") String operation, @Param("beginTime") String beginTime, @Param("endTime") String endTime);

}
